package com.parkinglot.parmeter;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
@Data
public class UserParm {
    private Integer id;
    /**
     * openid
     */
    @NotBlank
    private String userid;
    /**
     * 会员名称
     */
    private String vipname;
    /**
     * 手机号
     */
    @NotBlank
    @Pattern(regexp = "^[1]([3][0-9]{1}|59|58|88|89)[0-9]{8}$", message="11位手机号")
    private String phone;
    /**
     * 入会时间
     */
    private String joinVip;
    /**
     * 0:否1：是
     */
    private Integer vipstatus;
}
